<template>
  <div
    style="padding: 0 15px;"
    :class="[{'is-active': isActive}]"
    @click="toggleClick"
  >
    <svg-icon
      icon-class="menu"
    />
  </div>
</template>

<script lang="ts">
import { Component, Prop, Vue } from 'vue-property-decorator'

@Component({
  name: 'Hamburger'
})
export default class extends Vue {
  @Prop({ default: false }) private isActive!: boolean

  private toggleClick() {
    this.$emit('toggleClick')
  }
}
</script>
